<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://www.lgc.com/dsweb/sc/core/relationaldataservice/1/" elementFormDefault="qualified" targetNamespace="http://www.lgc.com/dsweb/sc/core/relationaldataservice/1/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://ilinklap-012:7070/AOServices/RelationalData.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://ilinklap-012:7070/AOServices/RelationalData.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/Dsp.Sdk" />
  <xs:element name="QueryForData">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="dataSourceId" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="queryId" nillable="true" type="xs:string" />
        <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="queryParameters" nillable="true" type="q1:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="QueryForDataResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="QueryForDataResult" nillable="true">
          <xs:complexType>
            <xs:annotation>
              <xs:appinfo>
                <ActualType Name="DataTable" Namespace="http://schemas.datacontract.org/2004/07/System.Data" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
            <xs:sequence>
              <xs:any minOccurs="0" maxOccurs="unbounded" namespace="http://www.w3.org/2001/XMLSchema" processContents="lax" />
              <xs:any minOccurs="1" namespace="urn:schemas-microsoft-com:xml-diffgram-v1" processContents="lax" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="QueryForDataRIA">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="dataSourceId" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="queryId" nillable="true" type="xs:string" />
        <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="queryParameters" nillable="true" type="q2:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="QueryForDataRIAResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="QueryForDataRIAResult" nillable="true" type="q3:ArrayOfArrayOfKeyValueOfstringanyType" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExecuteInsertOrUpdateQuery">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="dataSourceId" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="queryId" nillable="true" type="xs:string" />
        <xs:element xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="queryParameters" nillable="true" type="q4:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExecuteInsertOrUpdateQueryResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="ReturnDataSources">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="ReturnDataSourcesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/Dsp.Sdk" minOccurs="0" name="ReturnDataSourcesResult" nillable="true" type="q5:ArrayOfObjectInstance" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReturnQueries">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="dataSourceId" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReturnQueriesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/Dsp.Sdk" minOccurs="0" name="ReturnQueriesResult" nillable="true" type="q6:ArrayOfObjectInstance" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReturnQueryString">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="queryName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReturnQueryStringResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ReturnQueryStringResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReturnQueryParameterCount">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="query" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReturnQueryParameterCountResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ReturnQueryParameterCountResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>